OPC Studio User's Guide and Reference
DAVtqResult<TValue> Constructor(Object,Exception,DAVtq<TValue>)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.DataAccess.Generic Namespace > DAVtqResult<TValue> Class > DAVtqResult<TValue> Constructor : DAVtqResult<TValue> Constructor(Object,Exception,DAVtq<TValue>)
The state object specified when the operation was invoked.
The reason of the failure of the operation.
The typed DAVtq<TValue> (value, timestamp and quality) that is a successful result of the operation.
Initializes a new instance of the class. Initializes a new instance of the class, with given state object, exception, and DAVtq<TValue>.
Syntax
'Declaration
 
Public Function New( _
   ByVal state As Object, _
   ByVal exception As Exception, _
   ByVal vtq As DAVtq(Of TValue) _
)
'Usage
 
Dim state As Object
Dim exception As Exception
Dim vtq As DAVtq(Of TValue)
 
Dim instance As New DAVtqResult(Of TValue)(state, exception, vtq)
public DAVtqResult<TValue>( 
   object state,
   Exception exception,
   DAVtq<TValue> vtq
)
public:
DAVtqResult<TValue>( 
   Object^ state,
   Exception^ exception,
   DAVtq<TValue^>^ vtq
)

Parameters

state
The state object specified when the operation was invoked.
exception
The reason of the failure of the operation.
vtq
The typed DAVtq<TValue> (value, timestamp and quality) that is a successful result of the operation.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also